<template>
  <div class="nav">
    <van-nav-bar
      :title="title"
      left-text="返回"
      left-arrow
      @click-left="$router.go(-1)"
    />
  </div>
</template>
<script>
export default {
  // data () {
  //   return {
  //     titles: this.$route.query.cate_name
  //   }
  // },
  props: {
    title: {
      type: String,
      requred: true
    }
  }
}
</script>
<style lang="scss" scoped>

</style>